home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000039_news@columbia.edu _Mon Sep 25 06:39:17 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA04227
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 25 Sep 2000 06:38:45 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA28357
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 25 Sep 2000 06:38:44 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id GAA09444
  10.     for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 06:28:54 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: leganii@surfree.com
  13. Subject: Re: kermit/lynx co-ordination notes
  14. Date: 25 Sep 2000 05:19:55 GMT
  15. Organization: OCLUG
  16. Message-ID: <8qmn9r$3bp$1@zook.lafn.org>
  17. To: kermit.misc@columbia.edu
  18.  
  19.  
  20. >                      Re: kermit/lynx co-ordination notes
  21. >                                       
  22. >   From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  23. >   Reply to: [1]Frank da Cruz
  24. >   Date: 24 Sep 2000 15:59:07 GMT
  25. >   Organization: Columbia University
  26. >   Newsgroups:
  27. >          [2]comp.protocols.kermit.misc
  28. >   Followup to: [3]newsgroup
  29. >   References:
  30. >          [4]<E13d2oS-0002KR-00@dxmcgyver>
  31. >In article [5]<E13d2oS-0002KR-00@dxmcgyver>, Dallas E. Legan wrote:
  32. >: I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org
  33. >: (Orange County Linux Users Group) to make public some
  34. >: tips for coordinating Kermit and Lynx, and maybe get some
  35. >: constructive feedback...
  36. >:
  37. >Great post, thanks!  It would be good to see a lot more posts of this
  38. >nature.  Once you get your questions cleared up, feel free to send it
  39. >in as a C-Kermit "case study" to join the others at:
  40. >
  41. >  [6]http://www.columbia.edu/kermit/ckermit.html#studies
  42.  
  43. It'd be my pleasure!
  44.  
  45. >
  46. >: 2)  I frequently run Lynx from kermit using the C-Kermit 7 pty
  47. >: capability. Typically this is to automate login to web based email
  48. >: accounts.  It could also be used to log the browsing session.
  49. >: Recently I ran into an instance where I was trying
  50. >: to pass a string with included blanks to lynx on its' startup:
  51. >:
  52. >: .......
  53. >: set network type pty
  54. >: ...
  55. >: set host lynx -parameter='some string'    URL://somewhere.something
  56. >: ...
  57. >:
  58. >: and lynx interpreted this as
  59. >:
  60. >: set host lynx -parameter='some string'    URL://somewhere.something
  61. >:               **************** *******     ************************
  62. >:
  63. >Try using doublequotes instead of single quotes.  Kermit execvp()'s the
  64. >program directly, and recognizes doublequotes (but not apostrophes) for
  65. >grouping.  Obviously there's no way it can duplicate all the syntax rules
  66. >of every shell, so if you need anything more shell-like, your intermediate
  67. >shell approach is quite appropriate:
  68.  
  69. Thank you.
  70. That's why I didn't really think of this as a bug, there's a way to get
  71. it to work, just wasn't obvious to me.
  72. I'll try the double quotes and see if it simplifies things.
  73. My habit is to use single quotes unless there is a specific reason
  74. to use doubles - usually the need to interpolate variables.
  75. This will probably make that list of specific reasons.
  76.  
  77. >
  78. >: set host { /bin/bash -c -
  79. >:   " exec lynx -parameter='some string'    URL://somewhere.something" }
  80. >:
  81. >: invoking bash just long enough to set up the argv/argc input,
  82. >: before it gets overlaid by Lynx.
  83. >
  84. >- Frank
  85. -- 
  86.  
  87. Regards,
  88. Dallas E. Legan II  /  leganii@surfree.com  /  dallasii@kincyb.com
  89.  
  90. Powered by......Lynx, the Internet at full speed.